package com.link_with_health.mapper;
import com.link_with_health.model.InfoTypeEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InfoTypeMapper {
    InfoTypeEntity queryInfoTypeById(Integer id);
    List<InfoTypeEntity> queryInfoTypeByType(String type);
    List<InfoTypeEntity> queryAllInfoType();
    int insertInfoType(InfoTypeEntity infoType);
    int updateInfoType(InfoTypeEntity infoType);
    int deleteInfoType(Integer id);
}
